package qingxin.servlet;

import java.io.IOException;

import javax.servlet.ServletException;
import javax.servlet.http.HttpServlet;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;

import qingxin.dao.JournalistDAO;
import qingxin.dao.NewsCommentDAO;
import qingxin.dao.NewsDAO;
import qingxin.dao.NewsJournalistDAO;
import qingxin.dao.NewsTagDAO;
import qingxin.dao.PhotoDAO;
import qingxin.dao.UserDAO;
import qingxin.factory.DAOFactory;

public class EmptyServlet extends HttpServlet{
	private static final long serialVersionUID = 1L;
    private NewsDAO newsDAO;   
    private PhotoDAO photoDAO;
    private NewsJournalistDAO newsJournalistDAO;
    private NewsTagDAO newsTagDAO;
    private NewsCommentDAO newsCommentDAO;
    private UserDAO userDAO;
    private JournalistDAO journalistDAO;
    /**
     * @see HttpServlet#HttpServlet()
     */
    public EmptyServlet() {
        super();
        newsDAO = DAOFactory.getNewsDAO();
        photoDAO = DAOFactory.getPhotoDAO();
        newsJournalistDAO = DAOFactory.getNewsJournalistDAO();
        newsTagDAO = DAOFactory.getNewsTagDAO();
        newsCommentDAO = DAOFactory.getNewsCommentDAO();
        journalistDAO = DAOFactory.getJournalistDAO();
        userDAO = DAOFactory.getUserDAO();
    }
    
    protected void doGet(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException {
    
    }
    
    protected void doPost(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException {
        
    }
}
